import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import router from './router/index.js'
import {createPinia} from "pinia"
import axios from "axios"
import App from './App.vue'
import SvgIcon from './components/SvgIcon.vue'
import SlideVerify from 'vue-monoplasty-slide-verify';


const app = createApp(App)
// const Base64 = require("js-base64").Base64
app.use(SlideVerify);
app.component('SvgIcon', SvgIcon)
app.use(ElementPlus, { size: 'small', zIndex: 3000 }).use(router).use(createPinia())
app.use(router)
app.config.globalProperties.suburl="http://localhost:7001/public/xw/"
app.config.globalProperties.suburl1="http://localhost:7001/public/"
app.config.globalProperties.lb="http://localhost:7001/public/wyh"




axios.defaults.baseURL="http://127.0.0.1:5173/api"
app.config.globalProperties.$axios=axios


app.mount('#app')
